/*
 * @Author: silence silence9685@163.com
 * @Date: 2023-04-21 11:41:50
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2023-07-11 16:17:49
 * @FilePath: \lenercom_bluetooth_app\lib\common\widgets\cubitWidget\DividingLine.dart
 * @Description: 分割线
 */
import 'package:flutter/material.dart';
import 'package:sil_base_widget_package/sil_base_widget_package.dart';

import '../../../utils/color/ColorUtils.dart';

class DividingLine extends StatelessWidget {
  final Color? color;
  final EdgeInsets? margin;
  const DividingLine({this.color, this.margin, Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
        decoration: BoxDecoration(
            border: Border.all(
                color: this.color ?? ColorUtils.color_divider_line,
                width: 0.5.w)),
        margin: this.margin);
  }
}
